www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\Label\custom_Label\文章系统标签库\nd_chk_if_have_art_cid.asp

    <%'$start_ext_newDsoft 以下系统生成,勿删!
'$newDsoft_label_type$:asp_label$end_newDsoft_label_type$
'$newDsoft_label_name$:chk_if_have_art_cid$end_newDsoft_label_name$
'$newDsoft_label_sql$: $end_newDsoft_label_sql$
'$newDsoft_label_params$:cid,文章分类id,1$end_newDsoft_label_params$
'$newDsoft_label_fenye_num$: $end_newDsoft_label_fenye_num$
'$newDsoft_label_beizhu$:检查某个文章分类是否存在,不存在则显示出错消息$end_newDsoft_label_beizhu$
'$newDsoft_is_sys_label$:0$end_newDsoft_is_sys_label$
'$newDsoft_other_params$:htmledxa:1|htmledxb:$end_newDsoft_other_params$
'$end_ext_newDsoft%>
<%
if cstr($xxvar$cid&"")<>"" then
set rs2ccz=server.CreateObject("adodb.recordset")    
rs2ccz.open "select * from [ND_Article_class] where id="&$xxvar$cid,newdsoft_conn_obj,1,1
if rs2ccz.eof then%>
<div>系统找不到指定的频道分类,可能此分类已被删除,请重新修改模板里的标签的标签参数里的分类id值</div>
<%end if
rs2ccz.close
set rs2ccz=nothing

end if
%>